package org.example.design.chain;

public class handleTeacher extends Handler{
    @Override
    public void handletRequest(String request) {
        if(request.equals("mid")){
            System.out.println("老师处理");
        }else{
            nextHandler.handletRequest(request);
        }
    }
}
